
export const formatTime = (date) => {
    if(!date){
        return ''
    }
    return date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate() + ' ' + date.getHours() + ':' + date.getMonth() + ':' + date.getSeconds()
} 